package com.ruoyi.help.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 帮扶预约对象 t_help_student
 * 
 * @author ruoyi
 * @date 2022-10-08
 */
public class HelpStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 学生微信 */
    @Excel(name = "学生微信")
    private String wx;

    /** 学生电话 */
    @Excel(name = "学生电话")
    private String telephone;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeOfAppointment;

    /** 所在班级 */
    @Excel(name = "所在班级")
    private String classes;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String type;

    /** 帮扶老师 */
    @Excel(name = "帮扶老师")
    private String helpTeacher;

    /** 帮扶状态 */
    @Excel(name = "帮扶状态")
    private Integer status;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String reason;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setWx(String wx) 
    {
        this.wx = wx;
    }

    public String getWx() 
    {
        return wx;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setTimeOfAppointment(Date timeOfAppointment) 
    {
        this.timeOfAppointment = timeOfAppointment;
    }

    public Date getTimeOfAppointment() 
    {
        return timeOfAppointment;
    }
    public void setClasses(String classes) 
    {
        this.classes = classes;
    }

    public String getClasses() 
    {
        return classes;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setHelpTeacher(String helpTeacher) 
    {
        this.helpTeacher = helpTeacher;
    }

    public String getHelpTeacher() 
    {
        return helpTeacher;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("wx", getWx())
            .append("telephone", getTelephone())
            .append("timeOfAppointment", getTimeOfAppointment())
            .append("classes", getClasses())
            .append("type", getType())
            .append("helpTeacher", getHelpTeacher())
            .append("status", getStatus())
            .append("reason", getReason())
            .toString();
    }
}
